#pragma region Copyright
/// <copyright>
/// Copyright (c) 2007 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#pragma endregion

#pragma once

struct ConnectionInfo
{
public:
	PIN_DIRECTION direction;
	CComPtr<IPin> outPin;
	CComPtr<IPin> inPin;

	ConnectionInfo(PIN_DIRECTION dir, IPin* op, IPin* ip) : direction(dir), outPin(op), inPin(ip)
	{
	}
};

typedef ATL::CSimpleArray<ConnectionInfo> ConnectionInfoCollection;
